* {
    padding: 0;
    margin: 0;
}

body {
    background: #00ffff;
    font-size: 14px;
}

img {
    max-width: 100%
}

.clearfix:after {
    display: block;
    clear: both;
    content: "";
    height: 0;
    width: 0
}

.main {
    background: #ffffff;
    height: 540px;
    width: 680px;
    margin: 0px auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0, 0, 0, .1);
    position: relative;
}

.main::after {
    display: block;
    clear: both;
    content: "";
    height: 0;
    width: 0;
}

.main .header {
    height: 40px;
    width: 100%;
    background: #2a2e32;
    line-height: 40px;
    color: #ffffff;
    padding: 0 12px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.main .header .title a {
    color: #fff;
}

.main .left {
    width: 500px;
    height: 100%;
    float: left;
    border-right: 1px solid #ccc;
}

.main .left .content {
    height: 350px;
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding: 14px 16px;
    color: #000;
    position: relative;
    overflow-x: hidden;
}

.main .left .save {
    width: 100%;
    position: relative;
}

.main .left .save .tools {
    padding: 4px 8px;
}

.main .left .save .tools .tools-btn {
    display: inline-block;
    height: 28px;
    width: 32px;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
}

.main .left .save .tools .tools-btn .iconfont {
    font-size: 20px;
}

.main .left .save .tools .tools-btn:hover {
    background: #EEEEEE;
}

#text-input {
    width: 100%;
    height: 72px;
    padding: 0px 8px;
    resize: none;
    border: 0;
    outline: none;
}

#text-input-div {
    width: 100%;
    height: 72px;
    padding: 0px 8px;
    outline: none;
    border: 0;
    overflow-y: auto;
    overflow-x: hidden;
    word-wrap: break-word;
}

.main .left .save .footer {
    height: 30px;
    text-align: right;
    padding: 2px 8px 4px;
}

.chat-btn {
    display: inline-block;
    padding: 2px 12px;
    border: 1px solid #eee;
    cursor: pointer;
    margin: 0 8px;
}

.chat-btn.close:hover {
    background: #fafafa;
    border-color: #eee;
}

.chat-btn.send {
    background: #33FFCC;
    border-color: #33FFCC;
}

.chat-btn.send:hover {
    background: #33FF99;
    border-color: #33FF99;
}

.main .right {
    width: 180px;
    height: 100%;
    float: right;
    padding: 8px 12px;
}

.main .right .logo {
    width: 86%;
    margin: 24px auto;
}

.main .right .logo img {
    width: 100%;
}

.main .right .welcome {
    font-size: 12px;
    text-align: center;
}